package cn.wolfcode.crm.util;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @program: crm
 * @description:
 * @author: Mr.chen
 * @create: 2018-07-08 19:45
 **/
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class JsonResult {
    private boolean success = true;
    private String msg;

    //异常时操作
    public JsonResult(String msg){
        this.success = false;
        this.msg = msg;
    }
}
